package factory.impl;

import factory.ActionFactory;
import service.ActionService;
import service.impl.ActionOutLoginServiceImpl;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class ActionOutLoginFactoryImpl implements ActionFactory {
    private static ActionService actionService = new ActionOutLoginServiceImpl();
    @Override
    public void getAction(HttpServletRequest request, HttpServletResponse response) throws Exception {
        request.setCharacterEncoding("UTF-8");
        actionService.execute(request,response);
    }
}
